/**
 * 2016年6月5日
 * TODO
 */
package hm.entity;

/**
 * @author Administrator
 *
 */
public class Device extends AbstractEntity {

	private static final long serialVersionUID = -6936803037532078104L;
	
	private String serialPort;
	private String homeID;
	private String unit;
	private int status;
	private float warm;
	public String getSerialPort() {
		return serialPort;
	}
	public void setSerialPort(String serialPort) {
		this.serialPort = serialPort;
	}
	public String getHomeID() {
		return homeID;
	}
	public void setHomeID(String homeID) {
		this.homeID = homeID;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public int getStatus() {
		return status;
	}
	@Override
	public String toString() {
		return "Device [serialPort=" + serialPort + ", homeID=" + homeID + ", unit=" + unit + ", status=" + status
				+ ", warm=" + warm + "]";
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public float getWarm() {
		return warm;
	}
	public void setWarm(float warm) {
		this.warm = warm;
	}
}
